<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link href="${ctx!}/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="${ctx!}/static/css/font-awesome.min.css" rel="stylesheet">
    <link href="${ctx!}/static/css/app.css" rel="stylesheet">
    <title>Document</title>
</head>

<body>
<div class="wrapper">
    <nav role="navigation" class="navbar navbar-default">
        <!-- START navbar header-->
        <div class="navbar-header">
            <a href="/" class="navbar-brand">
                <div class="brand-logo">
                    <img src="/static/image/logo.png" alt="App Logo" class="img-responsive">
                </div>
            </a>
        </div>
        <!-- END navbar header-->
        <!-- START Nav wrapper-->
        <div class="nav-wrapper">
            <ul class="nav navbar-nav">
                <li>
                    <!-- Button used to collapse the left sidebar. Only visible on tablet and desktops-->
                    <a href="/" class="hidden-xs active">
                        区块链数据
                    </a>
                </li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <!-- Search icon-->
                <li>
                    <a href="javascript:void(0);" data-toggle="navbar-search">
                        15510165330@163.com
                        <em class="fa fa-caret-down"></em>
                    </a>
                </li>
            </ul>

        </div>
        <!-- END Nav wrapper-->
    </nav>
    <div class="container-fluid main-content">
        <H3>业务数据
            <small>疫苗交易信息</small>
        </H3>
        <div class="panel panel-default">
            <div class="panel-heading">追溯数据
            </div>
            <div class="panel-body">
                <div class="col-md-12">
                <#list records as record>
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <ul>
                                <li>
                                    <p>交易单号：${record['ORDER_NO']}</p>
                                    <p>交易类型：${record['ORDER_TYPE']}</p>
                                    <#if record['ORDER_DATE']??>
                                        <p>
                                            生成时间：${(record['ORDER_DATE']?number)?number_to_date?string("yyyy-MM-dd HH:mm:ss")}</p>
                                        <hr>
                                        <p>疫苗标识码：${record['VACCINE_ID']}</p>
                                        <p>疫苗生产企业 ID：${record['VACCINE_COMP']}</p>
                                        <p>疫苗编码：${record['VACCINE_CODE']}</p>
                                        <p>疫苗批号：${record['VACCINE_BATCH_CODE']}</p>
                                        <p>疫苗接收单位：${record['RECEIVE_ORGAN_CODE']}</p>
                                        <p>疫苗发出单位：${record['SUPPLY_ORGAN_CODE']}</p>
                                    </#if>
                                    <#if record['VACCINE_DATE']??>
                                        <p>
                                            生成时间：${(record['VACCINE_DATE']?number)?number_to_date?string("yyyy-MM-dd HH:mm:ss")}</p>
                                        <hr>
                                        <p>疫苗标识码：${record['VACCINE_ID']}</p>
                                        <p>儿童编码：${record['CHILD_CODE']}</p>
                                        <p>接种单位编码：${record['RECORD_ORGAN_CODE']}</p>
                                        <p>接种医生编码：${record['RECORD_OPER_CODE']}</p>
                                        <p>订单是否被废弃：${record['SCRAP_FLAG']}</p>
                                    </#if>
                                </li>
                            </ul>
                        </div>
                    </div>
                </#list>
                </div>
            </div>
        </div>
    </div>
</div>


<!-- 全局js -->
<script src="${ctx!}/static/js/jquery.min.js"></script>
<script src="${ctx!}/static/js/bootstrap.min.js"></script>
</body>

</html>
